extends Node2D
onready var sfxNode = get_node('sfx')

func playSound(sfx = null):
	if sfx:
		var sfxNode = get_node('sfx')
		sfxNode.connect("Player", self, "playSound")
		sfxNode.disconnect("Player", self, "playSound")
